package com.mmc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * MMC后台管理系统启动类
 *
 * @author kunfe
 * @since 2024-01-01
 */
@EnableAsync
@EnableScheduling
@MapperScan("com.mmc.mapper")
@SpringBootApplication
public class MmcApplication {

    public static void main(String[] args) {
        SpringApplication.run(MmcApplication.class, args);
        System.out.println("""
                
                 __  __ __  __  _____ 
                |  \\/  |  \\/  |/ ____|
                | \\  / | \\  / | |     
                | |\\/| | |\\/| | |     
                | |  | | |  | | |____ 
                |_|  |_|_|  |_|\\_____|
                
                MMC后台管理系统启动成功！
                
                文档地址：http://localhost:8080/api/doc.html
                """);
    }
} 